<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<title>用户管理-权限管理</title>
		<link rel="stylesheet" type="text/css" href="__CSS__/userpower.css">
		<script type="text/javascript" src="__JS__/jquery-3.6.0.min.js"></script>
		<script type="text/javascript" src="__JS__/jquery.validate.min.js"></script>
		<script type="text/javascript">
		   $('input:radio').click(function(){
		               var $radio = $(this);
		               if ($radio.data('checked')){
		                 $radio.prop('checked', false);
		                 $radio.data('checked', false);
		               } else {
		                 $radio.prop('checked', true);
		                 $radio.data('checked', true);
		               }
		   });
		</script>
	</head>
	<body>
		<div>
			<!-- I组 顶部 -->
				<div class="top">
					<img src="__IMG__/tx.jpg" />
					<span class="top-1">论坛后台管理</span>
					<span class="top-2">欢迎您：{:session('uName')}</span>
				</div>
			<!-- I组  导航栏 -->
				<div class="navbar">
					<ul>
						<li><a href="{:url('deal/mesdeal')}">帖子管理</a></li>
						<li><a href="{:url('deal/userdeal')}">用户管理</a></li>
						<li><a href="{:url('deal/secdeal')}">版块管理</a></li>
						<li><a href="{:url('deal/bindeal')}">回收站管理</a></li>
						<li><a href="{:url('advdeal/advdeal')}">广告管理</a></li>
						<li><a href="{:url('advdeal/boxdeal')}">轮播图管理</a></li>
						<li><a href="{:url('admin/apa')}">修改密码</a></li>
						<li><a href="{:url('admin/alogout')}">注销</a></li>
						<li><a href="/mamx28/public/index.php/mamx_forum/Mamx">论坛前台</a></li>
					</ul>
				</div>
			<!-- I组 权限修改 -->
			<div class="usermodi">
				<form action="{:url('deal/modipower',['unick'=>input('unick')])}" method="post">
				{volist name="user" id="userRow"}
					<table>
						<tr>
							<td>用户名</td>
							<td>{$userRow.u_nick}</td>
						</tr>
						<tr>
							<td>权限</td>
							<td>
								<div class="sel">
									<div class="select"><input type="radio" checked="checked" name="logsend" value="正常登录、正常发言" class="in">正常登录、正常发言</div>
									<div class="select"><input type="radio" checked="checked" name="logsend" value="正常登录、不能发言" class="in">正常登录、不能发言</div>
									<div class="select"><input type="radio" checked="checked" name="logsend" value="不能登录、不能发言" class="in">不能登录、不能发言</div>
								</div>
							</td>
						</tr>
						<tr>
							<td colspan="2" style="text-align: center;"><input type="submit" class="modi" value="提交修改"></td>
						</tr>
					</table>
					{/volist}
				</form>
			</div>
			</div>
	</body>
</html>
